import { RouterModule } from '@angular/router';

import { InspectionrecordComponent } from './inspectionrecord/inspectionrecord.component';
import { InspectionrecordinfoComponent } from './inspectionrecordinfo/inspectionrecordinfo.component';

export const InspectionRecordRoutes = [
    {
        path: '',
        redirectTo: 'inspectionrecord',
        pathMatch: 'full'
    },
    {
        path: 'inspectionrecord',
        component: InspectionrecordComponent
    },
    {
        path: 'inspectionrecordinfo/:type',
        component: InspectionrecordinfoComponent
    }
];